package com.sky.enumeration;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum DishEnum {
    STARTS(1, "起售"),
    STOP(0, "停售");
    @EnumValue
    private final int value;
    private final String desc;

    DishEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
